#pragma once

#include "RdcBuffer.h"

namespace rdc_transport
{
    struct IVirtChannel;

    class ServerWriteStrategy
    {
    public:
        ServerWriteStrategy();

    public:
        void Write(Buffer* pBuffer);
        void SetInternalWriter(IVirtChannel* internalWriter);

    private:
        IVirtChannel* m_Writer;
    };
}